#!/bin/sh

workdir=`pwd`;
o=$1

echo $workdir
echo $1

if [ $o = "web" ]; then
    go build -o web-server $workdir/proxy-server/web/main.go
fi 
if [ $o = "proxy" ]; then
    go build -o proxy $workdir/proxy-server/proxy/main.go
fi 